import multiprocessing


def producer(q):
    q.put("Item 1")


def consumer(q):
    item = q.get()
    print(f"Consumer received: {item}")


if __name__ == '__main__':
    q = multiprocessing.Queue()
    producer_process = multiprocessing.Process(target=producer, args=(q,))
    consumer_process = multiprocessing.Process(target=consumer, args=(q,))

    producer_process.start()
    consumer_process.start()

    producer_process.join()
    consumer_process.join()
